package com.cesce.batch.cobros.service;

import java.io.InputStream;

import org.apache.commons.net.ftp.FTPFile;
import org.springframework.core.io.Resource;

import com.cesce.batch.cobros.exceptions.FTPException;


public interface FtpService {

	public abstract InputStream getFileByName(String name)	throws FTPException;

	public abstract void setFileWithName(InputStream is, String name)
			throws FTPException;
	
	public abstract void setDirectory(String name)
			throws FTPException;
	
	public abstract String getDirectory()
			throws FTPException;	
}
